Skip to content

Display % of points granted by the checker when partially scoring#301

Merged
MasloMaslane merged 6 commits intosio2project:masterfrom
SZonkil:issue288
Mar 2, 2026
Merged

Display % of points granted by the checker when partially scoring#301
MasloMaslane merged 6 commits intosio2project:masterfrom
SZonkil:issue288

Conversation

@SZonkil
Copy link
Contributor

@SZonkil SZonkil commented Dec 6, 2023

Addition of translation is required

Closes #288

@SZonkil SZonkil requested a review from twalen as a code owner December 6, 2023 15:29
Copy link
Contributor

@DietPawel DietPawel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thank you for delivering a PR. Did You tested the translations?

I tried testing it and it seems that when You change user's language the comment is not reflected.

I believe that, this string "Granted...." is saved during judging of the problem and there is no access to user's language preferences there.

I might have clicked something wrong though.

twalen
twalen previously approved these changes Dec 20, 2023
@DietPawel DietPawel changed the title Display % of points outpu by checker Display % of points granted by the checker when partially scoring. Dec 20, 2023
@DietPawel DietPawel changed the title Display % of points granted by the checker when partially scoring. Display % of points granted by the checker when partially scoring Dec 20, 2023
@DietPawel
Copy link
Contributor

CC: @Kostero @craniac-swistak

twalen
twalen previously approved these changes Apr 3, 2024
@sonarqubecloud
Copy link

@MasloMaslane MasloMaslane merged commit 59a1554 into sio2project:master Mar 2, 2026
3 checks passed
sylwia-sapkowska pushed a commit that referenced this pull request Mar 4, 2026
* Added result_percentage

* Added migration

* Added bold to partial score %

* Result percentage as fractions.Fraction

* Fix migrations

* Fix: Migrations

---------

Co-authored-by: Mateusz Masiarz <[email protected]>
Co-authored-by: Iteron-dev <[email protected]>
sylwia-sapkowska added a commit that referenced this pull request Mar 11, 2026
* Added partial scoring display in the testing report

* Extended comments with information about half time limit exceeded

* Extended comments with information about half time limit exceeded

* Added helper controller functions to identify contests with linear thresholds, improved comment display after half tl exceeded

* Removed try-excepts

* Updated unit tests

* Display % of points granted by the checker when partially scoring (#301)

* Added result_percentage

* Added migration

* Added bold to partial score %

* Result percentage as fractions.Fraction

* Fix migrations

* Fix: Migrations

---------

Co-authored-by: Mateusz Masiarz <[email protected]>
Co-authored-by: Iteron-dev <[email protected]>

* Unified displaying style

* Fixed tests

* Fixes from Ruff

---------

Co-authored-by: SZonkil <[email protected]>
Co-authored-by: Mateusz Masiarz <[email protected]>
Co-authored-by: Iteron-dev <[email protected]>
sylwia-sapkowska added a commit that referenced this pull request Mar 17, 2026
* Added partial scoring display in the testing report

* Extended comments with information about half time limit exceeded

* Extended comments with information about half time limit exceeded

* Added helper controller functions to identify contests with linear thresholds, improved comment display after half tl exceeded

* Removed try-excepts

* Updated unit tests

* Display % of points granted by the checker when partially scoring (#301)

* Added result_percentage

* Added migration

* Added bold to partial score %

* Result percentage as fractions.Fraction

* Fix migrations

* Fix: Migrations

---------

Co-authored-by: Mateusz Masiarz <[email protected]>
Co-authored-by: Iteron-dev <[email protected]>

* Unified displaying style

* Fixed tests

* Fixes from Ruff

---------

Co-authored-by: SZonkil <[email protected]>
Co-authored-by: Mateusz Masiarz <[email protected]>
Co-authored-by: Iteron-dev <[email protected]>
Jankwi pushed a commit to Jankwi/oioioi that referenced this pull request Mar 18, 2026
* Added partial scoring display in the testing report

* Extended comments with information about half time limit exceeded

* Extended comments with information about half time limit exceeded

* Added helper controller functions to identify contests with linear thresholds, improved comment display after half tl exceeded

* Removed try-excepts

* Updated unit tests

* Display % of points granted by the checker when partially scoring (sio2project#301)

* Added result_percentage

* Added migration

* Added bold to partial score %

* Result percentage as fractions.Fraction

* Fix migrations

* Fix: Migrations

---------

Co-authored-by: Mateusz Masiarz <[email protected]>
Co-authored-by: Iteron-dev <[email protected]>

* Unified displaying style

* Fixed tests

* Fixes from Ruff

---------

Co-authored-by: SZonkil <[email protected]>
Co-authored-by: Mateusz Masiarz <[email protected]>
Co-authored-by: Iteron-dev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

% of points output by chk to be displayed by SIO

6 participants